Xbasic

Using AI Tools on XBasic code

Description

Leverage AI-powered tools from the Script Editor to convert generated scripts into functions, document code, and run code reviews for functions and classes.

Create A Function From A Script

Take the script generated by AI and wrap it as an Xbasic function for reuse.

Turning an AI-generated script into a function
Convert To Function

Open AI Tools From Context Menu

The Script Editor Tools menu includes AI options for functions and classes.

Context menu showing AI tools
Tools Menu With AI

Generate Documentation

Choose Documentation to have AI infer and draft function documentation based on your code.

Generated documentation from function source
AI Documentation

Run A Code Review

Pick Code Review for a detailed analysis of your function, class, or script with improvement suggestions.

AI-driven code review results
AI Code Review
Review and test suggested changes; adjust for your project’s conventions and Alpha Anywhere build.